<?php
/** @ingroup boleto
 *  @brief View Administração Banco
 */

?>
<style type="text/css">

#status{
        background-color: #A4D29D;
        border-bottom: 1px dashed #55a34a;
        border-top: 1px dashed #55a34a;
        text-align: center;
        height: 18px;
        padding-top: 5px;
        margin-bottom: 10px;
        color: #000;
}

td{
        cursor: pointer;
}

</style>

<div id="content">
    <div id="main">
        <h2><a href="#"><?=$this->breadcump1?></a> &raquo; <a href="#" class="active"><?=$this->breadcump2?></a></h2>        

        <div style="margin-bottom: 20px;">
            <table class="fullwidth" cellpadding="0" cellspacing="0" border="0">
                <thead>
                    <td>Banco</td>
                    <td>Código</td>
                    <td>Layout</td>
                </thead>
                <tbody>
                <? foreach ($this->bancos as $bancos): ?>
                <tr onclick="document.location = '<?= $this->url(array("controller" => "boleto", "action" => "infobanco" ,"codigo" => $bancos->codigo),'', true); ?>'">
                    <td><?=$bancos->nome?></td>
                    <td><?=$bancos->codigo?></td>
                    <td><?=$bancos->layout?></td>
                </tr>
                <? endforeach; ?>
                </tbody>
            </table>
        </div>

    </div>
    <div class="clear"></div>
</div>

<div id="sidebar">
        <h2>Navegação</h2>
        <ul>
                <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'index'),'',true)?>">Histórico</a></li>
                <li><a href="">Upload</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'uploadboleto'),'',true)?>">Info Boletos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'uploadproduto'),'',true)?>">Info Produtos</a></li>
                    </ul>
                </li>
                <li><a href="">Boletos</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'admbanco'),'',true)?>">Administrar Bancos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'geraboleto'),'',true)?>">Gerar PDF Boletos</a></li>
                    </ul>
                </li>
                 <li><a href="">Operações</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'cadastroboleto'),'',true)?>">Cadastro de boletos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'find'),'',true)?>">Localizar boletos</a></li>
                    </ul>
                </li>
        </ul>
</div>



